package cn.iocoder.yudao.module.biz.controller.admin.htHiddentrouble.vo;

import lombok.*;
import java.util.*;
import io.swagger.annotations.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
* 隐患信息 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
public class HtHiddentroubleBaseVO {

    @ApiModelProperty(value = "隐患名称", required = true)
//    @NotNull(message = "隐患名称不能为空")
    private String htName;

    @ApiModelProperty(value = "检查日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date checkDate;

    @ApiModelProperty(value = "隐患地点")
    private String place;

    @ApiModelProperty(value = "隐患类别")
    private String category;

    @ApiModelProperty(value = "检查类型")
    private String checkType;

    @ApiModelProperty(value = "隐患等级")
    private String level;

    @ApiModelProperty(value = "隐患状态")
    private String state;

    @ApiModelProperty(value = "隐患来源")
    private String source;

    @ApiModelProperty(value = "隐患产生原因")
    private String causeReason;

    @ApiModelProperty(value = "隐患描述")
    private String description;

    @ApiModelProperty(value = "检查人Id")
    private Long checkPeoId;

    @ApiModelProperty(value = "检查单位ID")
    private String checkDeptId;

    @ApiModelProperty(value = "所属单位ID")
    private String beCheckDeptId;

    @ApiModelProperty(value = "危险源ID")
    private String riskId;

}
